package com.csc.movie.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csc.movie.model.entity.Movie;
import com.csc.movie.model.vo.MovieVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MovieMapper extends BaseMapper<Movie> {
    List<MovieVO> selectMovieVOs(Page<MovieVO> page, @Param("ew") QueryWrapper<Movie> wrapper);
}
